move js code to bottom
add clear button
removed duplicate code
improved clear functionality
basic empty feature svc detection working
remove F namespace
works with empty feature svc