make Rakefile portable among js projects