proper js build