i don't think javascript and unityscript are very close. the syntax may look quite similar at a first glance but javascript is dynamically typed, oo is based on the concept of prototypes and there are many other differences.