Added initial legit.js file.