refactoring: moved the baasbox js file into another dir