Now uses a simple regex to check valid JS identifier.