refine root templates. drop bower. package jquery and hammerjs.