Removed internal class.
Moved end and begin to build.
Added browser version.