JavaScript – Transitioning from the desktop to the web