only use one javascript