Register, localize, enqueue the currently-empty JS file, other minor adjustments.