AwayJS core library