removed useless js call