add JavaScript and images