Added background textures. Separated out JavaScript files.