Some script of Javascript for exercises