proper js dir