Optimize some of the Core javascript a bit.

In an ever-running attempt to eek more performance out of the system, core-foot.js and core.js have been merged into a single file.
This reduces the server calls by one request.