fixed "magic numbers" in assembled.js