Adds Javascript for creating a new review, checking for errors, and modifying the button