nano JavaScript framework
reg
Function