updated more functional element classes to use the x- notation.
added jshint
added more import code in ui.

some jshint cleanup.