added resultsctrl tests
added js files