comments: better base JS inclusion separation

Signed-off-by: Adrian-Tudor Panescu <adrian.tudor.panescu@cern.ch>