Converted tinycon to requirejs