added beacon javascript to guide and removed beacon file