Javascript and PHP based YouTube video service