Common javascript scripts overlay