Use javascript to start background process.