Clean up js implementation of Teacher's Assistant