Add js for automated install