Fix missing secure directory in core js file. MJ-589