Moved enqueue javascript lines from constructor to specific methods in Search and SubmitCR fe view classes