Fixed: wrong syntax of javascript