js tidy up - adding new keywords