Move 3p js into its own directory, remove unused files