Adds some content and cleans up js file