JavaScript Style expression parser