Fixing small issue on intialization
Fixing js