Core JS-library for Pebbles-applications