run javascript from command line