Remove guard dependencies which are not used

Conflicts:
	Gemfile
Fix assets paths for 2.2.0.beta

Also use $(document).on thats more agnostic.