separate .js file, regexp to tokenize input expression