updated readme
moved js to an external file
added link to source repo