JavaScript magic circus.