important javascript libraries moved into head