project structure and jquery implementation