Add copyrights
Split custom JavaScript into a separate file