Javascript for Adobe AIR