Initial file commit

Added the JS file and modified the README.