adds js directory and html file