Updated javascript in MediaAccess

Made an attempt at cleaning up the JS a bit. 

### Summary

* Did away with the object literal setting in the class attribute and moved it to the data attribute. Labels can now be parsed using jQuery.data instead of regular expression on the class attribute.

* Also did away with using setInterval. Modified the workflow to a pub/sub model. 

* Did away with jQuery.live and went with event delegation instead. Document listens for the click event and delegates it down to the MediaAccess button.