Ignore this topic, i had problems linking to an external javascript file, instead i have just saved it as a php and used a php include. there is nothing wrong with using this method instead of a js include is there?