added extra options and changed to standard option method with jquery.extend

Signed-off-by: Kien Luu <kienluu@kien56.local>