proper js