load javascript only once