Tidy up teachers.js and change block book function to animate