add javascriptlist syntax check