add some js

add basic javascript