Embed more javascript to simplify loading