Update main.js

Modified ajax url parameter, to allow for start from raw webpage address, rather than webpage address followed by /app.php/convert