Added view javascript and requirejs