Fixed js errors being triggered when creating ajax modal.
Merge branch 'hatchd-edits' of github.com:neilferreira/mockup into hatchd-edits