Fixed JS Warnings