changed order in which js is loaded
added dynamic titles