Moved prototype and jQuery extends into a file