Moved project specified event and form handlers to separate javascript file.