PLD: pull js and stylesheet constants into defs