Compile javascript to bin