fix gl lib alias calling from js lib code