Modied js call