add lottery history
namespace changed
add javascript files