Removed Unnecessary Javascript Method