Added unit tests
Added target to javascripts