added pointer for javascript