added run and pseudo compile scripts for js version.