Remove redundant JS imports
Create safety nets for non-existent requests