Add front-end javascript skeleton