jQuery app - code style