This script is also in use on the home page of JyotishTools.com
To use simply include the data folder on a web page either in a div or paragraph. And example is given with the index.html file.
I am assuming most who want to use this script already have an editor for their site that sets up a local server to test edits and it should also be able to display this script. Basic of website structure are also assumed.