refactoring genesis project with jquery & bootstrap