remove javascript for creating collection -- not used anymore