Added in juqery-ui dependency.

Jshint issues fixed.

Fixed bug that meant annotation IDs were returned as strings (opposed to numbers).

started splitting directives out into their own files - for sanity.

removed uncessary anonymous function initiation wrappers.