core javascript library