Code refactoring. Moved 3rd party js into its own library.