4th commit

JS changes - basic stuff