Migrate line endings
Add .jshintrc file
Rewrite main.js

Add T3IP namespace and make functions publically available.
Cleanup for functions.
Handle navigation slide in speparate function
Detect if to use position or transform for subnavigation
Make it possible to slide sub navigation multiple times
Make JS file JSHint valide
Merge branch 'js-update'