changed /new to /new/ in handler to conform to js