translate to jade and add course search front end