Kiran | Added js specs for fp smart register.