Added javascript plugin.
Added html5 support.