New better version. Checkpoint commit
Moved script to js folder