(Bug1355572) Fix broken blocktype JS includes for https sites in subdirectories

Change-Id: I88bbb537d94d2bb3c9a96f2ac721b629f64cd003
Signed-off-by: Simon Coggins <simon.coggins@totaralms.com>
Merge "(Bug1355572) Fix broken blocktype JS includes for https sites in subdirectories"