Bonescript nodejs code added for reference purposes