properifying html and moving js into static dir