Create peaks.js