add new js base structure