finalizing form adding javascript, starting controller to ajax listen