made external javascript page