separate JS by namespace