Proper js resources inclusion