added js script

still need to format blocks in game