javascript libraries syntax