Add html form js code and adapt teachers helper for scheduler