Some JS conversions in assets/javascripts. (And some formatting here and there)
Forgot to remove an alert I was using for testing
Don't update z-index everytime modal is opened.
Merge pull request #1612 from arkon/modal-overlay

Don't update z-index everytime modal is opened. Fixes #1611
Merge pull request #1605 from arkon/js-assets

Some JS conversions in assets/javascripts.