Bug Fix on Lvl2 JavaScript