code style
Fixed execution on phantomJS