Simplifying JS in project form.