basic javascript

stuff