Proper js setup