add new js for limit

Signed-off-by: Dan Kruse <kruse.dan@gmail.com>