fix illegal javascript in jade conditional