Added ajax support for creating a new URL