Dan/javascript start

Please review