Move javascript to a separate file to improve load time.