removing jquery. move to bootstrap 3. refactor templates.