solve the js reference problem